﻿#region Using Statements

#endregion

namespace DirectZZT.Shared.World.Objects
{
    /// <summary>
    /// Specifies what shall happen on collision of two objects.
    /// </summary>
    public class CollisionResolveArgs
    {
        /// <summary>
        /// Gets/sets the <see cref="BoardObject"/> that has collided with us.
        /// </summary>
        public BoardObject Source { get; set; }
        /// <summary>
        /// Gets/sets the <see cref="BoardObject"/> that the collider collided with.
        /// </summary>
        public BoardObject Target { get; set; }
        /// <summary>
        /// Gets/sets whether or not to remove the <see cref="BoardObject"/> that has collided with us.
        /// </summary>
        public bool RemoveSource { get; set; }
        /// <summary>
        /// Gets/sets whether or not to remove the <see cref="BoardObject"/> that the collider collided with.
        /// </summary>
        public bool RemoveTarget { get; set; }
    }
}
